package com.cmict.data.bpm.convert.externalfile;

import java.util.*;

import com.cmict.data.bpm.controller.admin.externalfile.vo.ExternalFileCreateReqVO;
import com.cmict.data.bpm.controller.admin.externalfile.vo.ExternalFileRespVO;
import com.cmict.data.bpm.controller.admin.externalfile.vo.ExternalFileUpdateReqVO;
import com.cmict.data.bpm.dal.dataobject.externalfile.ExternalFileDO;
import com.cmict.data.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
/**
 * 工作流审批附件 Convert
 */
@Mapper
public interface ExternalFileConvert {

    ExternalFileConvert INSTANCE = Mappers.getMapper(ExternalFileConvert.class);

    ExternalFileDO convert(ExternalFileCreateReqVO bean);

    ExternalFileDO convert(ExternalFileUpdateReqVO bean);

    ExternalFileRespVO convert(ExternalFileDO bean);

    List<ExternalFileRespVO> convertList(List<ExternalFileDO> list);

    PageResult<ExternalFileRespVO> convertPage(PageResult<ExternalFileDO> page);

}
